package com.success.task.web.lucene.interfaces;

import java.util.List;

import org.apache.lucene.index.IndexReader;
import org.apache.lucene.search.Hits;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.highlight.SimpleHTMLFormatter;

import com.success.task.web.lucene.data.ResultData;

public interface IndexHighLighterInterface {
	
	public List<ResultData> getHighLightedList(Hits hits,IndexReader reader,Query query,int page)  throws Exception ;
	
	public List<ResultData> getHighLightedList(Hits hits,IndexReader reader,Query query,SimpleHTMLFormatter sh,int page) throws Exception ;
}
